PrError
PrError
Get result of the last Printing Manager function returns Error Code of last print function; 0=no error Call PrError after calling each Printing Manager function. It returns the result code of that call.
noErr (0) No error
iPrAbort (128) Application or user requested abort
iPrSavPFil (-1) Error saving print file
controlErr (-17) Unimplemented device control instruction
iIOAbort (-27) I/O error
iMemFullErr (-108) Not enough room in heap zone
(else) Other result codes are possible. See Error Codes
Notes: C and ASM programmers may prefer to check the current value of the
global variable PrintErr (at 0x0944).
If you do not provide a custom background routine, the Printing Manager
provides a custom routine which monitors for the -period keystroke. If
it senses that event, it stores iPrAbort as the Error Code. Note that it does NOT remove the keystroke from the event queue.